<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>Login</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="../static/css/bulma.min.css"/>
    <style type="text/css">

        .full-screen {
            position: absolute;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .pc-center {
            padding: 50px;
            border-style: dashed;
            border-color: #4a4a4a;
        }
    </style>
    <script src="../static/js/jquery-3.3.1.js"></script>
</head>

<body>

<div class="full-screen">
    <div class="pc-center">
        <div class="wrap-center">
            <form id="loginform" action="/login" method="post" role="form">
                <div class="field has-addons">
                    <div class="control">
                        <input class="input" type="password" name="uid" placeholder="UID">
                    </div>
                    <div id="login" class="control">
                        <a  class="button is-info">
                            Login
                        </a>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>


<script type="text/javascript">
    $(function () {
        $("#login").click(function () {
            $("#loginform").submit()
        })
    })
</script>
</body>
</html>
